package com.ljfiction.book.fragment.ranking;

import java.util.List;

/**
 * Created by Android on 2017/12/7.
 */

public class NewBookRankBean {

    /**
     * returnCode : 200
     * msg : 数据加载成功！
     * data : {"newBookRankingList":{"lastPage":1,"navigatepageNums":[1],"startRow":1,"hasNextPage":false,"prePage":0,"nextPage":0,"endRow":1,"pageSize":20,"list":[{"tempTicketSum":0,"bookStatus":1,"bookWorldCount":39,"bookImage":"http://bookcovers.oss-cn-hangzhou.aliyuncs.com/BookCover/defaultcoverimg.jpg","bookClassificationId":1,"bookName":"就问你帅不帅","writerName":"呵呵","bookId":120,"lastUpdateChapterId":425656,"bookIntroduction":"呵呵呵呵","bookAuthorization":0,"collectionStatus":0,"bookCheckStatus":0,"lastUpdateChapterName":"第二章","bookWriterId":"71","lastUpdateTime":1512696793000}],"pageNum":1,"navigatePages":8,"total":1,"pages":1,"firstPage":1,"size":1,"isLastPage":true,"hasPreviousPage":false,"isFirstPage":true}}
     */

    private int returnCode;
    private String msg;
    private DataBean data;

    public int getReturnCode() {
        return returnCode;
    }

    public void setReturnCode(int returnCode) {
        this.returnCode = returnCode;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * newBookRankingList : {"lastPage":1,"navigatepageNums":[1],"startRow":1,"hasNextPage":false,"prePage":0,"nextPage":0,"endRow":1,"pageSize":20,"list":[{"tempTicketSum":0,"bookStatus":1,"bookWorldCount":39,"bookImage":"http://bookcovers.oss-cn-hangzhou.aliyuncs.com/BookCover/defaultcoverimg.jpg","bookClassificationId":1,"bookName":"就问你帅不帅","writerName":"呵呵","bookId":120,"lastUpdateChapterId":425656,"bookIntroduction":"呵呵呵呵","bookAuthorization":0,"collectionStatus":0,"bookCheckStatus":0,"lastUpdateChapterName":"第二章","bookWriterId":"71","lastUpdateTime":1512696793000}],"pageNum":1,"navigatePages":8,"total":1,"pages":1,"firstPage":1,"size":1,"isLastPage":true,"hasPreviousPage":false,"isFirstPage":true}
         */

        private NewBookRankingListBean newBookRankingList;

        public NewBookRankingListBean getNewBookRankingList() {
            return newBookRankingList;
        }

        public void setNewBookRankingList(NewBookRankingListBean newBookRankingList) {
            this.newBookRankingList = newBookRankingList;
        }

        public static class NewBookRankingListBean {
            /**
             * lastPage : 1
             * navigatepageNums : [1]
             * startRow : 1
             * hasNextPage : false
             * prePage : 0
             * nextPage : 0
             * endRow : 1
             * pageSize : 20
             * list : [{"tempTicketSum":0,"bookStatus":1,"bookWorldCount":39,"bookImage":"http://bookcovers.oss-cn-hangzhou.aliyuncs.com/BookCover/defaultcoverimg.jpg","bookClassificationId":1,"bookName":"就问你帅不帅","writerName":"呵呵","bookId":120,"lastUpdateChapterId":425656,"bookIntroduction":"呵呵呵呵","bookAuthorization":0,"collectionStatus":0,"bookCheckStatus":0,"lastUpdateChapterName":"第二章","bookWriterId":"71","lastUpdateTime":1512696793000}]
             * pageNum : 1
             * navigatePages : 8
             * total : 1
             * pages : 1
             * firstPage : 1
             * size : 1
             * isLastPage : true
             * hasPreviousPage : false
             * isFirstPage : true
             */

            private int lastPage;
            private int startRow;
            private boolean hasNextPage;
            private int prePage;
            private int nextPage;
            private int endRow;
            private int pageSize;
            private int pageNum;
            private int navigatePages;
            private int total;
            private int pages;
            private int firstPage;
            private int size;
            private boolean isLastPage;
            private boolean hasPreviousPage;
            private boolean isFirstPage;
            private List<Integer> navigatepageNums;
            private List<ListBean> list;

            public int getLastPage() {
                return lastPage;
            }

            public void setLastPage(int lastPage) {
                this.lastPage = lastPage;
            }

            public int getStartRow() {
                return startRow;
            }

            public void setStartRow(int startRow) {
                this.startRow = startRow;
            }

            public boolean isHasNextPage() {
                return hasNextPage;
            }

            public void setHasNextPage(boolean hasNextPage) {
                this.hasNextPage = hasNextPage;
            }

            public int getPrePage() {
                return prePage;
            }

            public void setPrePage(int prePage) {
                this.prePage = prePage;
            }

            public int getNextPage() {
                return nextPage;
            }

            public void setNextPage(int nextPage) {
                this.nextPage = nextPage;
            }

            public int getEndRow() {
                return endRow;
            }

            public void setEndRow(int endRow) {
                this.endRow = endRow;
            }

            public int getPageSize() {
                return pageSize;
            }

            public void setPageSize(int pageSize) {
                this.pageSize = pageSize;
            }

            public int getPageNum() {
                return pageNum;
            }

            public void setPageNum(int pageNum) {
                this.pageNum = pageNum;
            }

            public int getNavigatePages() {
                return navigatePages;
            }

            public void setNavigatePages(int navigatePages) {
                this.navigatePages = navigatePages;
            }

            public int getTotal() {
                return total;
            }

            public void setTotal(int total) {
                this.total = total;
            }

            public int getPages() {
                return pages;
            }

            public void setPages(int pages) {
                this.pages = pages;
            }

            public int getFirstPage() {
                return firstPage;
            }

            public void setFirstPage(int firstPage) {
                this.firstPage = firstPage;
            }

            public int getSize() {
                return size;
            }

            public void setSize(int size) {
                this.size = size;
            }

            public boolean isIsLastPage() {
                return isLastPage;
            }

            public void setIsLastPage(boolean isLastPage) {
                this.isLastPage = isLastPage;
            }

            public boolean isHasPreviousPage() {
                return hasPreviousPage;
            }

            public void setHasPreviousPage(boolean hasPreviousPage) {
                this.hasPreviousPage = hasPreviousPage;
            }

            public boolean isIsFirstPage() {
                return isFirstPage;
            }

            public void setIsFirstPage(boolean isFirstPage) {
                this.isFirstPage = isFirstPage;
            }

            public List<Integer> getNavigatepageNums() {
                return navigatepageNums;
            }

            public void setNavigatepageNums(List<Integer> navigatepageNums) {
                this.navigatepageNums = navigatepageNums;
            }

            public List<ListBean> getList() {
                return list;
            }

            public void setList(List<ListBean> list) {
                this.list = list;
            }

            public static class ListBean extends RankingPareantBean{
                /**
                 * tempTicketSum : 0
                 * bookStatus : 1
                 * bookWorldCount : 39
                 * bookImage : http://bookcovers.oss-cn-hangzhou.aliyuncs.com/BookCover/defaultcoverimg.jpg
                 * bookClassificationId : 1
                 * bookName : 就问你帅不帅
                 * writerName : 呵呵
                 * bookId : 120
                 * lastUpdateChapterId : 425656
                 * bookIntroduction : 呵呵呵呵
                 * bookAuthorization : 0
                 * collectionStatus : 0
                 * bookCheckStatus : 0
                 * lastUpdateChapterName : 第二章
                 * bookWriterId : 71
                 * lastUpdateTime : 1512696793000
                 */

                private int tempTicketSum;
                private int bookStatus;
                private int bookWorldCount;
                private String bookImage;
                private int bookClassificationId;
                private String bookName;
                private String writerName;
                private int bookId;
                private long lastUpdateChapterId;
                private String bookIntroduction;
                private int bookAuthorization;
                private int collectionStatus;
                private int bookCheckStatus;
                private String lastUpdateChapterName;
                private String bookWriterId;
                private long lastUpdateTime;

                public int getTempTicketSum() {
                    return tempTicketSum;
                }

                public void setTempTicketSum(int tempTicketSum) {
                    this.tempTicketSum = tempTicketSum;
                }

                public int getBookStatus() {
                    return bookStatus;
                }

                public void setBookStatus(int bookStatus) {
                    this.bookStatus = bookStatus;
                }

                public int getBookWorldCount() {
                    return bookWorldCount;
                }

                public void setBookWorldCount(int bookWorldCount) {
                    this.bookWorldCount = bookWorldCount;
                }

                public String getBookImage() {
                    return bookImage;
                }

                public void setBookImage(String bookImage) {
                    this.bookImage = bookImage;
                }

                public int getBookClassificationId() {
                    return bookClassificationId;
                }

                public void setBookClassificationId(int bookClassificationId) {
                    this.bookClassificationId = bookClassificationId;
                }

                public String getBookName() {
                    return bookName;
                }

                public void setBookName(String bookName) {
                    this.bookName = bookName;
                }

                public String getWriterName() {
                    return writerName;
                }

                public void setWriterName(String writerName) {
                    this.writerName = writerName;
                }

                public int getBookId() {
                    return bookId;
                }

                public void setBookId(int bookId) {
                    this.bookId = bookId;
                }

                public long getLastUpdateChapterId() {
                    return lastUpdateChapterId;
                }

                public void setLastUpdateChapterId(long lastUpdateChapterId) {
                    this.lastUpdateChapterId = lastUpdateChapterId;
                }

                public String getBookIntroduction() {
                    return bookIntroduction;
                }

                public void setBookIntroduction(String bookIntroduction) {
                    this.bookIntroduction = bookIntroduction;
                }

                public int getBookAuthorization() {
                    return bookAuthorization;
                }

                public void setBookAuthorization(int bookAuthorization) {
                    this.bookAuthorization = bookAuthorization;
                }

                public int getCollectionStatus() {
                    return collectionStatus;
                }

                public void setCollectionStatus(int collectionStatus) {
                    this.collectionStatus = collectionStatus;
                }

                public int getBookCheckStatus() {
                    return bookCheckStatus;
                }

                public void setBookCheckStatus(int bookCheckStatus) {
                    this.bookCheckStatus = bookCheckStatus;
                }

                public String getLastUpdateChapterName() {
                    return lastUpdateChapterName;
                }

                public void setLastUpdateChapterName(String lastUpdateChapterName) {
                    this.lastUpdateChapterName = lastUpdateChapterName;
                }

                public String getBookWriterId() {
                    return bookWriterId;
                }

                public void setBookWriterId(String bookWriterId) {
                    this.bookWriterId = bookWriterId;
                }

                public long getLastUpdateTime() {
                    return lastUpdateTime;
                }

                public void setLastUpdateTime(long lastUpdateTime) {
                    this.lastUpdateTime = lastUpdateTime;
                }
            }
        }
    }
}
